/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.unirio.pf.service;

import br.unirio.pf.dao.RegistrarCriteriosDePesquisaDAO;
import java.util.List;
import javax.jws.WebService;
import javax.jws.WebMethod;

/**
 *
 * @author Ricardo
 */
@WebService(serviceName = "RegistrarCriteriosDePesquisa")
public class RegistrarCriteriosDePesquisa {

    /** This is a sample web service operation */
    @WebMethod
    public void registrarPesquisa (String cpf, List<String> bairro, double valMin, double valMax, int numQuartos, boolean posVagGaragem, String horSol) throws Exception {
        RegistrarCriteriosDePesquisaDAO dao = new RegistrarCriteriosDePesquisaDAO();
        dao.registrarPesquisa(cpf, bairro, valMin, valMax, numQuartos, posVagGaragem, horSol);
    }
}
